package models

import "time"

type Account struct {
	Id         int       `json:"id" gorm:"primary_key"`
	AccountId  string    `json:"account_id"`
	Password   string    `json:"password"`
	RealName   string    `json:"real_name"`
	CreateTime time.Time `gorm:"default:null" json:"create_time"`
}

func (account Account) TableName() string {
	return "account"
}
